<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>{$title|default="后台主页"}</title>

    <!-- Bootstrap -->
    {load href="/static/css/bootstrap.min.css"/}
    {load href="/static/js/jquery-3.3.1.min.js"/}
    {load href="/static/js/bootstrap.min.js"/}
    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>

<div class="container">
    <div class="row">
        <div class="col-md-12 text-center">
            <nav class="navbar navbar-default">
                <div class="container-fluid">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                                data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#">网站后台管理</a>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
                            <li><a href="#">Link</a></li>

                        </ul>

                        <ul class="nav navbar-nav navbar-right">
                            <li><a href="#">Link</a></li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                   aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#">Action</a></li>
                                    <li><a href="#">Another action</a></li>
                                    <li><a href="#">Something else here</a></li>
                                    <li role="separator" class="divider"></li>
                                    <li><a href="#">Separated link</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div><!-- /.navbar-collapse -->
                </div><!-- /.container-fluid -->
            </nav>

        </div>

    </div>

    <!--顶部结束-->
    <!--左边导航-->
    <div class="row">
        <div class="col-sm-3 col-md-2 text-center sidebar" style="background:#f8f8f8">
            {eq name="$Think.session.is_admin" value="1"}
            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h4">系统管理</li>
                <li>
                    <a href="{:url('site/index')}"><span class="glyphicon glyphicon-cog"></span>&nbsp;网站管理</a>
                </li>
            </ul>
            {/eq}
            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h4">用户管理</li>
                <li><a href="{:url('user/userList')}"><span class="glyphicon glyphicon-user"></span>&nbsp;用户列表</a></li>
            </ul>

            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h4">内容管理</li>
                {eq name="$Think.session.is_admin" value="1"}
                <li><a href="{:url('cate/cateList')}"><span class="glyphicon glyphicon-lock"></span>&nbsp;分类管理</a></li>
                {/eq}
                <li><a href="{:url('article/artList')}"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;文章管理</a>
                </li>
            </ul>
            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h4">内容管理</li>
                {eq name="$Think.session.is_admin" value="1"}
                <li><a href="{:url('cate/cateList')}"><span class="glyphicon glyphicon-lock"></span>&nbsp;分类管理</a></li>
                {/eq}
                <li><a href="{:url('article/artList')}"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;文章管理</a>
                </li>
            </ul>
            <ul class="nav nav-pills nav-stacked">
                <li><br></li>
                <li><br></li>
                <li><br></li>
                <li><br></li>
                <li><br></li>
                <li>------------</li>
            </ul>
            <ul class="nav nav-pills nav-stacked">
                <li class="nav-header h4">内容管理</li>

                <li><a href="http://aoruischool.com/form_builder.html"><span class="glyphicon glyphicon-lock"></span>&nbsp;表单构建</a></li>
                <li><a href="http://aoruischool.com/index.html?v=4.0"><span class="glyphicon glyphicon-lock"></span>&nbsp;表单构建</a></li>

            </ul>

        </div>

        <div class="col-sm-9 col-md-10 main">
            <h1 class="page-header">Dashboard</h1>

            <div class="row placeholders">
                <div class="col-xs-6 col-sm-3 placeholder">
                    <img src=""
                         width="100" height="100" class="img-responsive" alt="Generic placeholder thumbnail">
                    <h4>Label</h4>
                    <span class="text-muted">Something else</span>
                </div>
                <div class="col-xs-6 col-sm-3 placeholder">
                    <img src=""
                         width="100" height="100" class="img-responsive" alt="Generic placeholder thumbnail">
                    <h4>Label</h4>
                    <span class="text-muted">Something else</span>
                </div>
                <div class="col-xs-6 col-sm-3 placeholder">
                    <img src=""
                         width="100" height="100" class="img-responsive" alt="Generic placeholder thumbnail">
                    <h4>Label</h4>
                    <span class="text-muted">Something else</span>
                </div>
                <div class="col-xs-6 col-sm-3 placeholder">
                    <img src=""
                         width="100" height="100" class="img-responsive" alt="Generic placeholder thumbnail">
                    <h4>Label</h4>
                    <span class="text-muted">Something else</span>
                </div>
            </div>

            <h2 class="sub-header">Section title</h2>
            <div class="table-responsive">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>#</th>
                        <th>Header</th>
                        <th>Header</th>
                        <th>Header</th>
                        <th>Header</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>1,001</td>
                        <td>Lorem</td>
                        <td>ipsum</td>
                        <td>dolor</td>
                        <td>sit</td>
                    </tr>
                    <tr>
                        <td>1,002</td>
                        <td>amet</td>
                        <td>consectetur</td>
                        <td>adipiscing</td>
                        <td>elit</td>
                    </tr>


                    </tbody>
                </table>
            </div>
            22222
        </div>
    </div>

</div>


</body>
</html>